//
//  WmcColorEx.swift
//  YPWatermarkCamera
//
//  Created by 赵新 on 2022/3/2.
//

import UIKit
import YPBedrock

// MARK: - 描述颜色

extension UIColor {
    /// 主题色 5290FD
    static var wmc_mainTheme: UIColor {
        return wmc_blue_5290FD
    }

    /// 下划线色 E6E6E6
    static var wmc_lineColor: UIColor {
        return wmc_grayH15_E6E6E6
    }

    /// 黑色
    static var wmc_blackH1_000000: UIColor {
        return black
    }
    /// 黑色(透明度0.65)
    static var wmc_black65: UIColor {
        return UIColor.black.withAlphaComponent(0.65)
    }
    
    /// 黑色(透明度0.72)
    static var wmc_black72: UIColor {
        return UIColor.black.withAlphaComponent(0.72)
    }
    
    /// 黑色(透明度0.85)
    static var wmc_black85: UIColor {
        return UIColor.black.withAlphaComponent(0.85)
    }
    
    /// 黑色(透明度0.45)
    static var wmc_black45: UIColor {
        return UIColor.black.withAlphaComponent(0.45)
    }

    /// 白色
    static var wmc_white_FFFFFF: UIColor {
        return white
    }
    /// 红色(透明度0.16)
    static var wmc_red16: UIColor {
        return UIColor.red.withAlphaComponent(0.16)
    }
    /// BAC1CC
    static var wmc_BAC1CC: UIColor {
        return "#BAC1CC".yp.uiColor
    }
}

// MARK: - 红色

extension UIColor {
    static var wmc_red_F54A45: UIColor {
        #if false
            _ = #colorLiteral(red: 0.9607843137, green: 0.2901960784, blue: 0.2705882353, alpha: 1)
        #endif
        return WmcTheme.shared.red_F54A45
    }
}

// MARK: - 黄色

extension UIColor {
    static var wmc_yellow_FF9E00: UIColor {
        #if false
            _ = #colorLiteral(red: 1, green: 0.6196078431, blue: 0, alpha: 1)
        #endif
        return WmcTheme.shared.yellow_FF9E00
    }

    static var wmc_yellow_FFC400: UIColor {
        #if false
            _ = #colorLiteral(red: 1, green: 0.768627451, blue: 0, alpha: 1)
        #endif
        return WmcTheme.shared.yellow_FFC400
    }

    static var wmc_yellow_FF9305: UIColor {
        #if false
            _ = #colorLiteral(red: 1, green: 0.5764705882, blue: 0.01960784314, alpha: 1)
        #endif
        return WmcTheme.shared.yellow_FF9305
    }
}

// MARK: - 绿色

extension UIColor {
    static var wmc_green_007F46: UIColor {
        #if false
            _ = #colorLiteral(red: 0, green: 0.4980392157, blue: 0.2745098039, alpha: 1)
        #endif
        return WmcTheme.shared.green_007F46
    }

    static var wmc_green_029855: UIColor {
        #if false
            _ = #colorLiteral(red: 0.007843137255, green: 0.5960784314, blue: 0.3333333333, alpha: 1)
        #endif
        return WmcTheme.shared.green_029855
    }

    static var wmc_green_299F48: UIColor {
        #if false
            _ = #colorLiteral(red: 0.1617533863, green: 0.6245635748, blue: 0.2818815708, alpha: 1)
        #endif
        return WmcTheme.shared.green_299F48
    }

    static var wmc_green_00FF00: UIColor {
        #if false
            _ = #colorLiteral(red: 0, green: 1, blue: 0, alpha: 1)
        #endif
        return WmcTheme.shared.green_00FF00
    }

    static var wmc_green_E6F8E6: UIColor {
        #if false
            _ = #colorLiteral(red: 0.9019607843, green: 0.9725490196, blue: 0.9019607843, alpha: 1)
        #endif
        return WmcTheme.shared.green_E6F8E6
    }

    static var wmc_green_04BB04: UIColor {
        #if false
            _ = #colorLiteral(red: 0.01568627451, green: 0.7333333333, blue: 0.01568627451, alpha: 1)
        #endif
        return WmcTheme.shared.green_04BB04
    }

    static var wmc_green_09BB07: UIColor {
        #if false
            _ = #colorLiteral(red: 0.03529411765, green: 0.7333333333, blue: 0.02745098039, alpha: 1)
        #endif
        return WmcTheme.shared.green_09BB07
    }
    
    static var wmc_green_8AD240: UIColor {
        return WmcTheme.shared.green_8AD240
    }
}

// MARK: - 蓝色

extension UIColor {
    static var wmc_blue_0000D9: UIColor {
        #if false
            _ = #colorLiteral(red: 0, green: 0, blue: 0.8509803922, alpha: 1)
        #endif
        return WmcTheme.shared.blue_0000D9
    }

    static var wmc_blue_123668: UIColor {
        #if false
            _ = #colorLiteral(red: 0.07058823529, green: 0.2117647059, blue: 0.4078431373, alpha: 1)
        #endif
        return WmcTheme.shared.blue_123668
    }

    static var wmc_blue_1D4182: UIColor {
        #if false
            _ = #colorLiteral(red: 0.1137254902, green: 0.2549019608, blue: 0.5098039216, alpha: 1)
        #endif
        return WmcTheme.shared.blue_1D4182
    }

    static var wmc_blue_203CC0: UIColor {
        #if false
            _ = #colorLiteral(red: 0.1254901961, green: 0.2352941176, blue: 0.7529411765, alpha: 1)
        #endif
        return WmcTheme.shared.blue_203CC0
    }

    static var wmc_blue_51CEFE: UIColor {
        #if false
            _ = #colorLiteral(red: 0.3176470588, green: 0.8078431373, blue: 0.9960784314, alpha: 1)
        #endif
        return WmcTheme.shared.blue_51CEFE
    }

    static var wmc_blue_5290FD: UIColor {
        #if false
            _ = #colorLiteral(red: 0.3215686275, green: 0.5647058824, blue: 0.9921568627, alpha: 1)
        #endif
        return WmcTheme.shared.blue_5290FD
    }

    static var wmc_blue_DFE9FA: UIColor {
        #if false
            _ = #colorLiteral(red: 0.8745098039, green: 0.9137254902, blue: 0.9803921569, alpha: 1)
        #endif
        return WmcTheme.shared.blue_DFE9FA
    }

    static var wmc_blue_E5EFFF: UIColor {
        #if false
            _ = #colorLiteral(red: 0.8980392157, green: 0.937254902, blue: 1, alpha: 1)
        #endif
        return WmcTheme.shared.blue_E5EFFF
    }

    static var wmc_blue_EDF3FE: UIColor {
        #if false
            _ = #colorLiteral(red: 0.9294117647, green: 0.9529411765, blue: 0.9960784314, alpha: 1)
        #endif
        return WmcTheme.shared.blue_EDF3FE
    }

    static var wmc_blue_477EFF: UIColor {
        #if false
            _ = #colorLiteral(red: 0.2784313725, green: 0.4941176471, blue: 1, alpha: 0.05)
        #endif
        return WmcTheme.shared.blue_477EFF
    }
}

// MARK: - 灰色

extension UIColor {
    static var wmc_grayH1_1F1F29: UIColor {
        #if false
            _ = #colorLiteral(red: 0.1215686275, green: 0.1215686275, blue: 0.1607843137, alpha: 1)
        #endif
        return WmcTheme.shared.grayH1_1F1F29
    }

    static var wmc_grayH2_323233: UIColor {
        #if false
            _ = #colorLiteral(red: 0.1960784314, green: 0.1960784314, blue: 0.2, alpha: 1)
        #endif
        return WmcTheme.shared.grayH2_323233
    }

    static var wmc_grayH3_505050: UIColor {
        #if false
            _ = #colorLiteral(red: 0.3137254902, green: 0.3137254902, blue: 0.3137254902, alpha: 1)
        #endif
        return WmcTheme.shared.grayH3_505050
    }

    static var wmc_grayH4_5E6063: UIColor {
        #if false
            _ = #colorLiteral(red: 0.368627451, green: 0.3764705882, blue: 0.3882352941, alpha: 1)
        #endif
        return WmcTheme.shared.grayH4_5E6063
    }

    static var wmc_grayH5_606066: UIColor {
        #if false
            _ = #colorLiteral(red: 0.3764705882, green: 0.3764705882, blue: 0.4, alpha: 1)
        #endif
        return WmcTheme.shared.grayH5_606066
    }

    static var wmc_grayH6_75757A: UIColor {
        #if false
            _ = #colorLiteral(red: 0.4588235294, green: 0.4588235294, blue: 0.4784313725, alpha: 1)
        #endif
        return WmcTheme.shared.grayH6_75757A
    }

    static var wmc_grayH7_808080: UIColor {
        #if false
            _ = #colorLiteral(red: 0.5019607843, green: 0.5019607843, blue: 0.5019607843, alpha: 1)
        #endif
        return WmcTheme.shared.grayH7_808080
    }

    static var wmc_grayH8_8A8A99: UIColor {
        #if false
            _ = #colorLiteral(red: 0.5411764706, green: 0.5411764706, blue: 0.6, alpha: 1)
        #endif
        return WmcTheme.shared.grayH8_8A8A99
    }

    static var wmc_grayH9_8D8D8D: UIColor {
        #if false
            _ = #colorLiteral(red: 0.5529411765, green: 0.5529411765, blue: 0.5529411765, alpha: 1)
        #endif
        return WmcTheme.shared.grayH9_8D8D8D
    }

    static var wmc_grayH10_9C9C9C: UIColor {
        #if false
            _ = #colorLiteral(red: 0.6117647059, green: 0.6117647059, blue: 0.6117647059, alpha: 1)
        #endif
        return WmcTheme.shared.grayH10_9C9C9C
    }

    static var wmc_grayH11_9D9DB3: UIColor {
        #if false
            _ = #colorLiteral(red: 0.6156862745, green: 0.6156862745, blue: 0.7019607843, alpha: 1)
        #endif
        return WmcTheme.shared.grayH11_9D9DB3
    }

    static var wmc_grayH12_A0A0A0: UIColor {
        #if false
            _ = #colorLiteral(red: 0.6274509804, green: 0.6274509804, blue: 0.6274509804, alpha: 1)
        #endif
        return WmcTheme.shared.grayH12_A0A0A0
    }

    static var wmc_grayH13_ACAEAF: UIColor {
        #if false
            _ = #colorLiteral(red: 0.6745098039, green: 0.6823529412, blue: 0.6862745098, alpha: 1)
        #endif
        return WmcTheme.shared.grayH13_ACAEAF
    }

    static var wmc_grayH14_CCCCCC: UIColor {
        #if false
            _ = #colorLiteral(red: 0.8, green: 0.8, blue: 0.8, alpha: 1)
        #endif
        return WmcTheme.shared.grayH14_CCCCCC
    }

    static var wmc_grayH15_E6E6E6: UIColor {
        #if false
            _ = #colorLiteral(red: 0.9019607843, green: 0.9019607843, blue: 0.9019607843, alpha: 1)
        #endif
        return WmcTheme.shared.grayH15_E6E6E6
    }

    static var wmc_grayH16_EBEBEB: UIColor {
        #if false
            _ = #colorLiteral(red: 0.9215686275, green: 0.9215686275, blue: 0.9215686275, alpha: 1)
        #endif
        return WmcTheme.shared.grayH16_EBEBEB
    }

    static var wmc_grayH17_EBF2FF: UIColor {
        #if false
            _ = #colorLiteral(red: 0.9215686275, green: 0.9490196078, blue: 1, alpha: 1)
        #endif
        return WmcTheme.shared.grayH17_EBF2FF
    }

    static var wmc_grayH18_F0F0F0: UIColor {
        #if false
            _ = #colorLiteral(red: 0.9411764706, green: 0.9411764706, blue: 0.9411764706, alpha: 1)
        #endif
        return WmcTheme.shared.grayH18_F0F0F0
    }

    static var wmc_grayH19_F5F5F5: UIColor {
        #if false
            _ = #colorLiteral(red: 0.9607843137, green: 0.9607843137, blue: 0.9607843137, alpha: 1)
        #endif
        return WmcTheme.shared.grayH19_F5F5F5
    }

    static var wmc_grayH20_F7F7F7: UIColor {
        #if false
            _ = #colorLiteral(red: 0.968627451, green: 0.968627451, blue: 0.968627451, alpha: 1)
        #endif
        return WmcTheme.shared.grayH20_F7F7F7
    }

    static var wmc_grayH21_FAFAFA: UIColor {
        #if false
            _ = #colorLiteral(red: 0.9803921569, green: 0.9803921569, blue: 0.9803921569, alpha: 1)
        #endif
        return WmcTheme.shared.grayH21_FAFAFA
    }

    static var wmc_grayH22_FFF5E7: UIColor {
        #if false
            _ = #colorLiteral(red: 1, green: 0.9607843137, blue: 0.9058823529, alpha: 1)
        #endif
        return WmcTheme.shared.grayH22_FFF5E7
    }

    static var wmc_gray_F7F8FA: UIColor {
        #if false
            _ = #colorLiteral(red: 0.968627451, green: 0.9725490196, blue: 0.9803921569, alpha: 1)
        #endif
        return WmcTheme.shared.gray_F7F8FA
    }

    static var wmc_gray_444649: UIColor {
        #if false
            _ = #colorLiteral(red: 0.266666666666667, green: 0.274509803921569, blue: 0.286274509803922, alpha: 1)
        #endif
        return WmcTheme.shared.gray_444649
    }
    
    static var wmc_gray_595959: UIColor {
        #if false
            _ = #colorLiteral(red: 0.349019607843137, green: 0.349019607843137, blue: 0.349019607843137, alpha: 1)
        #endif
        return WmcTheme.shared.gray_595959
    }
}
